﻿package events {
	import module.Atom;
	
	public class Msg_LoadResource {
		public static const M_LOADRESOURCE:int = 4;
		public var msgid:int;
		public var url:String;
		public var cls:String;
		public var atom:*;
		public function Msg_LoadResource() { }
		public static function createMessage(url:String, cls:String,atom:Atom = null):Msg_LoadResource
		{
			var msg:Msg_LoadResource = new Msg_LoadResource();
			msg.msgid = M_LOADRESOURCE;
			msg.url   = url;
			msg.cls   = cls;
			msg.atom = atom;
			return msg;
		}
	}
}